package mc.contents.pojo.view;
/**
 * Created by LuoHui on 14-12-9.
 */
public class ReshelfItem {
    private String num_iid;
    private String nick;
    private String reserve_price;
    private String volume;
    private String sellerId;
    private String delist_time;
    private String detail_url;
    private String pic_url;
    private String title;
    private Integer pageIndex;
    private Integer indexInPage;
    private Shopcard shopcard;

    public Shopcard getShopcard() {
        return shopcard;
    }

    public void setShopcard( Shopcard shopcard ) {
        this.shopcard = shopcard;
    }

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex( Integer pageIndex ) {
        this.pageIndex = pageIndex;
    }

    public Integer getIndexInPage() {
        return indexInPage;
    }

    public void setIndexInPage( Integer indexInPage ) {
        this.indexInPage = indexInPage;
    }

    public String getNick() {
        return nick;
    }

    public void setNick( String nick ) {
        this.nick = nick;
    }

    public String getVolume() {
        return volume;
    }

    public void setVolume( String volume ) {
        this.volume = volume;
    }

    public String getSellerId() {
        return sellerId;
    }

    public void setSellerId( String sellerId ) {
        this.sellerId = sellerId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle( String title ) {
        this.title = title;
    }

    public String getNum_iid() {
        return num_iid;
    }

    public void setNum_iid( String num_iid ) {
        this.num_iid = num_iid;
    }

    public String getReserve_price() {
        return reserve_price;
    }

    public void setReserve_price( String reserve_price ) {
        this.reserve_price = reserve_price;
    }

    public String getDelist_time() {
        return delist_time;
    }

    public void setDelist_time( String delist_time ) {
        this.delist_time = delist_time;
    }

    public String getDetail_url() {
        return detail_url;
    }

    public void setDetail_url( String detail_url ) {
        this.detail_url = detail_url;
    }

    public String getPic_url() {
        return pic_url;
    }

    public void setPic_url( String pic_url ) {
        this.pic_url = pic_url;
    }

    private boolean isTmall;

    public boolean isTmall() {
        return isTmall;
    }

    public void setTmall( boolean isTmall ) {
        this.isTmall = isTmall;
    }
    @Override
    public boolean equals(Object obj) {
        if ( obj instanceof ReshelfItem ) {
            return this.num_iid.equals( ((ReshelfItem) obj).getNum_iid() );
        }
        return false;
    }

    @Override
    public int hashCode() {
        return num_iid.hashCode();
    }
}
